Scroll Text 

Inherits from: 
Edit Text  

_____________________________________________________
           name   *227*

Type:   string 

Description:
Used by the primitive find-item to find a «Scroll Text» by name. 

_____________________________________________________
           owner    *227*

Type:   Window 

Constraints:
Not settable.

Description:   If «Scroll Text» is a member of item list of an active «Window», then the value of this attribute is that «Window»; otherwise it is NULL.

_____________________________________________________
           active?    *227*

Type:   boolean

Constraints:
Not settable on default.

Description:  
This item can be made the selected text item if and only if the value of this attribute is TRUE, and the value of the visible? attribute is TRUE.  

_____________________________________________________
           visible?    *228*

Type:   boolean

Description:   «Scroll Text» is displayed in the owning «Window» if and only if the value of this attribute is TRUE, and the value of the active? attribute is TRUE.  If a selected «Scroll Text» is made invisible or inactive, it is deselected.

Side effects:
Setting causes «Scroll Text» to be redrawn in the owning «Window».  

_____________________________________________________
           move?   *228*

Type:   boolean

Description:  
The location of «Scroll Text» is changed relative to the size of the owning «Window» if and only if the value of this attribute is TRUE.

_____________________________________________________
           grow?   *228*

Type:   boolean

Description:  
The size of «Scroll Text» is changed relative to the size of the owning «Window» if and only if the value of this attribute is TRUE.

_____________________________________________________
           location   *228*

Type:   Point

Description:
The location of the upper left corner of «Scroll Text» in the owning «Window».

Side effects:
Setting causes «Scroll Text» to be redrawn.

_____________________________________________________
           size   *229*

Type:   Point

Description:
Offset of the lower right corner of «Scroll Text» from the upper left corner.

Side effects:
Setting causes «Scroll Text» to be redrawn.

_____________________________________________________
           balloon  *229*

Type: 
list 

Description:
Balloon Help information; format varies with the type (Prograph string or 'STR ', 'STR#', 'TEXT' or 'PICT' resource) of Balloon Help.

_____________________________________________________
            border?  *229*

Type: 
boolean 

Description:
A 1-point border is drawn around the «Scroll Text» if the value of this attribute is TRUE.
Side effects:
 Setting causes «Scroll Text» to be redrawn. 

_____________________________________________________
            font  *229*

Type:   integer 

Description: The default font in which «Scroll Text» is drawn. See Mac Constants (geneva, and so on) in the ˙Info… dialog for some values, as well as chapter 7, “The Macintosh Toolbox.”, and chapter 4, ”Application Builder” for a discussion of fonts and style records.

Side effects:   Setting causes «Scroll Text» to be redrawn.  

_____________________________________________________
           font style *230*

Type:   integer

Description: The default style in which «Scroll Text» is drawn. See Mac Constants (bold, and so on) in the ˙Info… dialog for some values, as well as chapter 7, “The Macintosh Toolbox.”

Side effects:   Setting causes «Scroll Text» to be redrawn.  

_____________________________________________________
           font size  *230*

Type:   integer 

Description: The point size in which «Scroll Text» is drawn. 

Side effects:   Setting causes «Scroll Text» to be redrawn.  

_____________________________________________________
           justification  *230*

Type:   integer 

Description: Justification for drawing «Scroll Text». See Mac Constants (teJustLeft, and so on) in the ˙Info… dialog for some values.

Side effects:   Setting causes the item to be redrawn.  

_____________________________________________________
           text  *231*

Type:   string 

Description: The text that is displayed in the item. It can have a maximum length of 32K bytes. If the text is longer than 32K bytes, it is truncated to that size.

Side effects:   Setting this attribute will cause «Scroll Text» to be redrawn immediately only if the «Scroll Text» is the selected text item in its owning «Window». Otherwise the redraw is delayed until the application manager processes an update event.  Setting this attribute also sets the style record attribute to NULL, and applies the default font, size and style to the new text.

_____________________________________________________
            edit record  *231*

Type:   TERec@@

Constraints:
Not settable.

Description: Text Edit record.

_____________________________________________________
            style record  *231*

Type:   null | StScrpRec@@

Constraints:
Not settable.

Description: This attribute is NULL if only one font, font size and font style are used throughout the text; otherwise, it points to the style record.

_____________________________________________________
             wrap?  *231*

Type:   boolean

Description: Text is kept within the bounding rectangle of the «Scroll Text» if and only if the value of this attribute is TRUE.

_____________________________________________________
            selection  *232*

Type:   Point

Description:
The range of characters selected. 

Side effects:   If the selected characters are outside the visible rectangle, they are scrolled into view and all characters in the selection range are highlighted.

_____________________________________________________
            vscroll  *232*

Type:   ControlRecord@@

Constraints:
Not settable.

Description:  The control record of the vertical scroll bar of «Scroll Text».

_____________________________________________________
            hscroll  *232*
          
Type:   ControlRecord@@

Constraints:
Not settable.

Description:  The control record of the horizontal scroll bar of «Scroll Text».